package com.heu.blood.storge.dictenum;

/**
 * 功能描述：出库原因枚举类
 *
 * @Author: lvyj
 * @Date: 2024/12/30 20:27
 */
public enum OutStorageReasonEnum {
    TRANSFUSION("TRANSFUSION","输血"),
    ALLOCATION("ALLOCATION","调拨"),
    SCRAP("SCRAP","报废"),
    WITH_DRAW_BLOOD("WITH_DRAW_BLOOD","退血"),

    BLOOD_BACK("BLOOD_BACK","退回血站"),
    URGENT("URGENT","紧急输血");

    private final String value;
    private final String code;

    OutStorageReasonEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String code() {
        return code;
    }

    public String value() {
        return value;
    }
}
